package cc.mrbird.febs.system.service;

import cc.mrbird.febs.system.entity.DrawlingDetail;

import cc.mrbird.febs.common.entity.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author MrBird
 * @date 2019-07-22 11:18:22
 */
public interface IDrawlingDetailService extends IService<DrawlingDetail> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param drawlingDetail drawlingDetail
     * @return IPage<DrawlingDetail>
     */
    IPage<DrawlingDetail> findDrawlingDetails(QueryRequest request, DrawlingDetail drawlingDetail);

    /**
     * 查询（所有）
     *
     * @param drawlingDetail drawlingDetail
     * @return List<DrawlingDetail>
     */
    List<DrawlingDetail> findDrawlingDetails(DrawlingDetail drawlingDetail);

    /**
     * 新增
     *
     * @param drawlingDetail drawlingDetail
     */
    void createDrawlingDetail(DrawlingDetail drawlingDetail);

    /**
     * 修改
     *
     * @param drawlingDetail drawlingDetail
     */
    void updateDrawlingDetail(DrawlingDetail drawlingDetail);

    /**
     * 删除
     *
     * @param drawlingDetail drawlingDetail
     */
    void deleteDrawlingDetail(DrawlingDetail drawlingDetail);
}
